'''
Created on Oct 12, 2013

@author: priya
'''

class Mention(object):
    '''
    classdocs
    '''
    parentMentionIds = []
    childMentionIds = []
    id = None
    
    words = []


    def __init__(self,params):
        '''
        Constructor
        '''
        
    def markId(self,idx):
        self.id = idx
        
    def addParentMention(self,parentId):
        self.parentMentionIds.append(parentId)
        
    def addChildMention(self,childId):
        self.addChildMention(childId)
        
    def addWord(self,word):
        self.words.append(word)
        